package com.furtherstar.auth.service;

import java.util.List;

import com.furtherstar.auth.controller.dto.AppResourceTree;
import com.furtherstar.auth.dao.model.AppResource;

public interface AppResourceService {

	Long add(AppResource resource);

	Long update(AppResource resource);

	Long enable(Long resourceId);

	Long disable(Long resourceId);

	Boolean delete(Long resourceId);

	List<AppResourceTree> resourcesTree(String appname);

}
